/****************************************************
          File Name:13-1.h
          Author: Abby Cin
          Mail: abbytsing@gmail.com
          Created Time: Sat 03 Jan 2015 04:12:28 PM CST
*****************************************************/

#ifndef HEADER_H_
#define HEADER_H_

// base class

class Cd
{
    private:
        char performers[50];
        char label[20];
        int selections;
        double playtime;
    public:
        Cd(const char *s1, const char *s2, int n, double x);
        //Cd(const Cd & d);
        //Cd();
        virtual ~Cd();
        virtual void Report() const;        // report all CD data
        Cd & operator=(const Cd & d);       // inherited by 'Classic'
};

class Classic: public Cd
{
    private:
        char maintype[50];
    public:
        Classic(const char *s1, const char *s2, const char *s3, int n, double x);
        Classic();
        virtual void Report() const;        // overload Cd::Report()
};

#endif
